package com.myproject.sbp.authorization.controller;


import com.myproject.sbp.base.auth.AuthPermission;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
public class TestController {

    @AuthPermission
    @GetMapping("/test")
    public Object test(){

        return "authorization操作成功";
    }
}
